package com.cet.designpatterns.decorator;

/**
 * @program: algorithm
 * @description: 具体的decorator 这里为调味品
 * @author: 陈恩涛
 * @create: 2021-09-09 22:53
 **/
public class Chocolate extends Decorator {

    public Chocolate(Drink drink) {
        super(drink);
        setDes("巧克力");
        setPrice(3.0);
    }
}
